Naming the Capture File

The following example uses the capFileSetCaptureFileG_63ME macro to specify an alternate filename (MYCAP.AVI) for the capture file and the capFileAlloc12LYBSY macro to preallocate a file of 5 MB.

char szCaptureFile[] =  MYCAP.AVI ;

 

capFileSetCaptureFile( hWndC, szCaptureFile);

capFileAlloc( hWndC, (1024L * 1024L * 5));